package io.renren.modules.sys.entity;



import java.util.Date;

import org.hibernate.validator.constraints.NotBlank;

/**
 * 系统配置信息
 * 
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2016年12月4日 下午6:43:36
 */
public class ProdInfoEntity {
	private Long id;
	@NotBlank(message="产品编号不能为空")
	private String prodCode;
	@NotBlank(message="产品名称不能为空")
	private String prodName; 
	private Date chgDate;
	private String remark;
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public String getProdCode() {
		return prodCode;
	}
	public void setProdCode(String prodCode) {
		this.prodCode = prodCode;
	}
	public String getProdName() {
		return prodName;
	}
	public void setProdName(String prodName) {
		this.prodName = prodName;
	}
	public String getRemark() {
		return remark;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}
	public Date getChgDate() {
		return chgDate;
	}
	public String getChgDateStr() {
		return chgDate.toLocaleString();
	}
	public void setChgDate(Date chgDate) {
		this.chgDate = chgDate;
	}
	
 
}
